# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '/media/sda6/Project/PyQt/Matos/App/accounting/jurnal.ui'
#
# Created: Sat Jan 24 08:56:02 2009
#      by: PyQt4 UI code generator 4.3.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_JurnalDlg(object):
    def setupUi(self, JurnalDlg):
        JurnalDlg.setObjectName("JurnalDlg")
        JurnalDlg.resize(QtCore.QSize(QtCore.QRect(0,0,865,464).size()).expandedTo(JurnalDlg.minimumSizeHint()))

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(JurnalDlg.sizePolicy().hasHeightForWidth())
        JurnalDlg.setSizePolicy(sizePolicy)

        self.gridlayout = QtGui.QGridLayout(JurnalDlg)
        self.gridlayout.setObjectName("gridlayout")

        self.vboxlayout = QtGui.QVBoxLayout()
        self.vboxlayout.setObjectName("vboxlayout")

        self.gridlayout1 = QtGui.QGridLayout()
        self.gridlayout1.setObjectName("gridlayout1")

        self.no_cb = QtGui.QCheckBox(JurnalDlg)
        self.no_cb.setFocusPolicy(QtCore.Qt.NoFocus)
        self.no_cb.setObjectName("no_cb")
        self.gridlayout1.addWidget(self.no_cb,0,0,1,1)

        self.no_le = QtGui.QLineEdit(JurnalDlg)
        self.no_le.setObjectName("no_le")
        self.gridlayout1.addWidget(self.no_le,0,1,1,1)

        self.tgl_cb = QtGui.QCheckBox(JurnalDlg)
        self.tgl_cb.setFocusPolicy(QtCore.Qt.NoFocus)
        self.tgl_cb.setChecked(True)
        self.tgl_cb.setObjectName("tgl_cb")
        self.gridlayout1.addWidget(self.tgl_cb,0,2,1,1)

        self.tgl_aw = QtGui.QDateEdit(JurnalDlg)
        self.tgl_aw.setCalendarPopup(True)
        self.tgl_aw.setObjectName("tgl_aw")
        self.gridlayout1.addWidget(self.tgl_aw,0,3,1,1)

        self.label = QtGui.QLabel(JurnalDlg)
        self.label.setObjectName("label")
        self.gridlayout1.addWidget(self.label,0,4,1,1)

        self.tgl_ak = QtGui.QDateEdit(JurnalDlg)
        self.tgl_ak.setCalendarPopup(True)
        self.tgl_ak.setObjectName("tgl_ak")
        self.gridlayout1.addWidget(self.tgl_ak,0,5,1,1)

        self.unit_cb = QtGui.QCheckBox(JurnalDlg)
        self.unit_cb.setFocusPolicy(QtCore.Qt.NoFocus)
        self.unit_cb.setObjectName("unit_cb")
        self.gridlayout1.addWidget(self.unit_cb,0,6,1,1)

        self.unit_le = QtGui.QLineEdit(JurnalDlg)
        self.unit_le.setObjectName("unit_le")
        self.gridlayout1.addWidget(self.unit_le,0,7,1,1)

        self.valid_cb = QtGui.QCheckBox(JurnalDlg)
        self.valid_cb.setFocusPolicy(QtCore.Qt.NoFocus)
        self.valid_cb.setObjectName("valid_cb")
        self.gridlayout1.addWidget(self.valid_cb,0,8,1,1)

        self.valid_cmb = QtGui.QComboBox(JurnalDlg)
        self.valid_cmb.setObjectName("valid_cmb")
        self.gridlayout1.addWidget(self.valid_cmb,0,9,1,1)

        self.coa_cb = QtGui.QCheckBox(JurnalDlg)
        self.coa_cb.setFocusPolicy(QtCore.Qt.NoFocus)
        self.coa_cb.setObjectName("coa_cb")
        self.gridlayout1.addWidget(self.coa_cb,1,0,1,1)

        self.coa_cmb = QtGui.QComboBox(JurnalDlg)
        self.coa_cmb.setObjectName("coa_cmb")
        self.gridlayout1.addWidget(self.coa_cmb,1,1,1,1)

        self.desc_cb = QtGui.QCheckBox(JurnalDlg)
        self.desc_cb.setFocusPolicy(QtCore.Qt.NoFocus)
        self.desc_cb.setObjectName("desc_cb")
        self.gridlayout1.addWidget(self.desc_cb,1,2,1,1)

        self.desc_le = QtGui.QLineEdit(JurnalDlg)
        self.desc_le.setObjectName("desc_le")
        self.gridlayout1.addWidget(self.desc_le,1,3,1,3)

        self.ref_cb = QtGui.QCheckBox(JurnalDlg)
        self.ref_cb.setFocusPolicy(QtCore.Qt.NoFocus)
        self.ref_cb.setObjectName("ref_cb")
        self.gridlayout1.addWidget(self.ref_cb,1,6,1,1)

        self.ref_le = QtGui.QLineEdit(JurnalDlg)
        self.ref_le.setObjectName("ref_le")
        self.gridlayout1.addWidget(self.ref_le,1,7,1,1)

        self.refJ_cb = QtGui.QCheckBox(JurnalDlg)
        self.refJ_cb.setFocusPolicy(QtCore.Qt.NoFocus)
        self.refJ_cb.setObjectName("refJ_cb")
        self.gridlayout1.addWidget(self.refJ_cb,1,8,1,1)

        self.refJ_le = QtGui.QLineEdit(JurnalDlg)
        self.refJ_le.setObjectName("refJ_le")
        self.gridlayout1.addWidget(self.refJ_le,1,9,1,1)
        self.vboxlayout.addLayout(self.gridlayout1)

        self.master_tbv = QtGui.QTableView(JurnalDlg)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(3)
        sizePolicy.setHeightForWidth(self.master_tbv.sizePolicy().hasHeightForWidth())
        self.master_tbv.setSizePolicy(sizePolicy)
        self.master_tbv.setAlternatingRowColors(True)
        self.master_tbv.setObjectName("master_tbv")
        self.vboxlayout.addWidget(self.master_tbv)

        self.detail_tbv = QtGui.QTableView(JurnalDlg)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.detail_tbv.sizePolicy().hasHeightForWidth())
        self.detail_tbv.setSizePolicy(sizePolicy)
        self.detail_tbv.setAlternatingRowColors(True)
        self.detail_tbv.setObjectName("detail_tbv")
        self.vboxlayout.addWidget(self.detail_tbv)
        self.gridlayout.addLayout(self.vboxlayout,0,0,1,1)

        self.retranslateUi(JurnalDlg)
        QtCore.QMetaObject.connectSlotsByName(JurnalDlg)
        JurnalDlg.setTabOrder(self.no_le,self.coa_cmb)
        JurnalDlg.setTabOrder(self.coa_cmb,self.tgl_aw)
        JurnalDlg.setTabOrder(self.tgl_aw,self.tgl_ak)
        JurnalDlg.setTabOrder(self.tgl_ak,self.desc_le)
        JurnalDlg.setTabOrder(self.desc_le,self.unit_le)
        JurnalDlg.setTabOrder(self.unit_le,self.ref_le)
        JurnalDlg.setTabOrder(self.ref_le,self.valid_cmb)
        JurnalDlg.setTabOrder(self.valid_cmb,self.refJ_le)
        JurnalDlg.setTabOrder(self.refJ_le,self.master_tbv)
        JurnalDlg.setTabOrder(self.master_tbv,self.detail_tbv)

    def retranslateUi(self, JurnalDlg):
        JurnalDlg.setWindowTitle(QtGui.QApplication.translate("JurnalDlg", "Journal", None, QtGui.QApplication.UnicodeUTF8))
        self.no_cb.setText(QtGui.QApplication.translate("JurnalDlg", "Journal No:", None, QtGui.QApplication.UnicodeUTF8))
        self.tgl_cb.setText(QtGui.QApplication.translate("JurnalDlg", "Date:", None, QtGui.QApplication.UnicodeUTF8))
        self.tgl_aw.setDisplayFormat(QtGui.QApplication.translate("JurnalDlg", "dd-MM-yyyy", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("JurnalDlg", "To", None, QtGui.QApplication.UnicodeUTF8))
        self.tgl_ak.setDisplayFormat(QtGui.QApplication.translate("JurnalDlg", "dd-MM-yyyy", None, QtGui.QApplication.UnicodeUTF8))
        self.unit_cb.setText(QtGui.QApplication.translate("JurnalDlg", "Unit Ref:", None, QtGui.QApplication.UnicodeUTF8))
        self.valid_cb.setText(QtGui.QApplication.translate("JurnalDlg", "Validate:", None, QtGui.QApplication.UnicodeUTF8))
        self.valid_cmb.addItem(QtGui.QApplication.translate("JurnalDlg", "Unbalanced", None, QtGui.QApplication.UnicodeUTF8))
        self.valid_cmb.addItem(QtGui.QApplication.translate("JurnalDlg", "COA Not Exist", None, QtGui.QApplication.UnicodeUTF8))
        self.coa_cb.setText(QtGui.QApplication.translate("JurnalDlg", "COA:", None, QtGui.QApplication.UnicodeUTF8))
        self.desc_cb.setText(QtGui.QApplication.translate("JurnalDlg", "Desc:", None, QtGui.QApplication.UnicodeUTF8))
        self.ref_cb.setText(QtGui.QApplication.translate("JurnalDlg", "Reference:", None, QtGui.QApplication.UnicodeUTF8))
        self.refJ_cb.setText(QtGui.QApplication.translate("JurnalDlg", "Journal Ref:", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    JurnalDlg = QtGui.QDialog()
    ui = Ui_JurnalDlg()
    ui.setupUi(JurnalDlg)
    JurnalDlg.show()
    sys.exit(app.exec_())
